<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</h:head>

<h:body>
	<ui:composition template="/XHTML/CommonColumnsContent.xhtml">
		<ui:define name="header">
			<ui:include src="/WEB-INF/facelets/header.jspx" />
		</ui:define>
		<br />
		<br />

		<ui:define name="body">
			<f:view>
				<h:form>
					<br />
					<br />
					<br />
					<br />
					<!-- Usuario membresía -->
					<p:dialog width="600" height="600" widgetVar="crud"
						header="Bienvenido a Sice" showEffect="explode"
						hideEffect="explode">

						<div align="center">
							<h:panelGrid columns="3">
								<h:link outcome="irUsuario" value="Usuario" style="color:blue;" />
							</h:panelGrid>
						</div>
					</p:dialog>

					<!-- Evento -->
					<p:dialog width="600" height="600" widgetVar="table"
						header="Bienvenido a Sice" showEffect="explode"
						hideEffect="explode">

						<div align="center">
							<h:panelGrid columns="3">
								<h:link outcome="goResgitrar" value="Ingresar Evento" style="color:blue;" />
							</h:panelGrid>

						</div>
					</p:dialog>

					
					<!-- cambiar las rutas de las imagenes -->
					<p:stack icon="/images/home.png">
						<p:menuitem value="Usuario" icon="/images/crud.png" onclick="crud.show();" oncomplete="table.hide()" />
						<p:menuitem value="Evento" icon="/images/dataTable.png" onclick="table.show();" oncomplete="crud.hide()" />
						
					</p:stack>


				</h:form>
			</f:view>
		</ui:define>

		<ui:define name="footer">
			<ui:include src="/WEB-INF/facelets/footerInitialMenu.jspx" />
		</ui:define>

	</ui:composition>

</h:body>

</html>

